function tcpRouter() {
    this.router = {}

    this.addRouter = function(path, callback) {
        this.router[path] = callback;
    };

    this.getRouter = function(path) {
        if (this.router[path] !== undefined && typeof this.router[path] === 'function') {
            return this.router[path];
        } else {
            return this.nullFunction;
        }
    };

    this.nullFunction = function(req) {};
}

